<?php
/**
 * 调用日历 JS
*/
$lang = array(
	'Sunday' => '星期日',
	'Monday' => '星期一',
	'Tuesday' => '星期二',
	'Wednesday' => '星期三',
	'Thursday' => '星期四',
	'Friday' => '星期五',
	'Saturday' => '星期六',
	'Sun' => '日',
	'Mon' => '一',
	'Tue' => '二',
	'Wed' => '三',
	'Thu' => '四',
	'Fri' => '五',
	'Sat' => '六',
	'January' => '一月',
	'February' => '二月',
	'March' => '三月',
	'April' => '四月',
	'May' => '五月',
	'June' => '六月',
	'July' => '七月',
	'Aguest' => '八月',
	'September' => '九月',
	'October' => '十月',
	'November' => '十一月',
	'December' => '十二月',
	'Jan' => '一月',
	'Feb' => '二月',
	'Mar' => '三月',
	'Apr' => '四月',
	'May' => '五月',
	'Jun' => '六月',
	'Jul' => '七月',
	'Agu' => '八月',
	'Sep' => '九月',
	'Oct' => '十月',
	'Nov' => '十一月',
	'Dec' => '十二月',
	'calendar_help' => '帮助',
	'calendar_about1' => "选择日期:\\r\\n- 点击 \\xab, \\xbb 按钮选择年份\\r\\n- 点击 ",
	'calendar_about2' => " 按钮选择月份\\r\\n- 长按以上按钮可从菜单中快速选择年份或月份",
	'calendar_about_time' => "\\r\\n\\r\\n选择时间:\\r\\n- 点击小时或分钟可使改数值加一\\r\\n- 按住Shift键点击小时或分钟可使改数值减一\\r\\n- 点击拖动鼠标可进行快速选择",
	'prev_year' => "上一年 (按住出菜单)",
	'prev_month' => "上一月 (按住出菜单)",
	'go_today' => "转到今日",
	'next_month' => "下一月 (按住出菜单)",
	'next_year' => "下一年 (按住出菜单)",
	'sel_date' => "选择日期",
	'drag_to_move' => "拖动",
	'part_today' => "(今日)",
	'day_first' => "最左边显示",
	'calendar_close' => "关闭",
	'calendar_today' => "今日",
	'time_part' => "(Shift-)点击鼠标或拖动改变值",
	'calendar_wk' => "周",
	'calendar_day' => "日",
	'calendar_time' => "时间",
);
foreach ($lang AS $cal_key => $cal_data)
{
    echo 'var ' . $cal_key . " = \"" . $cal_data . "\";\r\n";
}
include_once('./js/calendar.js');
?>
